package sns.util;

public class Encrypt {
	
	
	public static String encrypt(String password){
		
		String code="";
		for(int i=0; i< password.length();i++){
			code += (char)((int)password.charAt(i)+i);		
		}
		return code;
	}
	
	public static String decrypt(String password){
		
		String code="";
		for(int i=0; i< password.length();i++){
			code += (char)((int)password.charAt(i)-i);		
		}
		return code;
	}
	
}
